package org.zs.miracle.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.zs.miracle.common.base.entity.AbstractBaseEntity;

import java.io.Serial;

/**
 * 系统角色权限表
 */

@EqualsAndHashCode(callSuper = false) @Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_role_resources")
public class RoleResourcesEntity extends AbstractBaseEntity {
  
  @Serial
  private static final long serialVersionUID = -8866939458137795129L;
  
  /**
   * 资源|权限 Id
   */
  private Long resourcesId;
  
  /**
   * 角色id
   */
  private Long roleId;
}